<template>
	<div class="three_container clearfix">
		<div class="container_title clearfix ">
			<i class="iconfont icon-xihuan left"></i>
			<span>{{ title }}</span>
		</div>
		<div class="three_list_box">
			<div class="three_list" v-for="(item,index) in threeListData" :key="index">
				<div class="three_list_title">{{ item.title }}</div>
				<div class="three_list_text" :style="{ color: item.color }">{{ item.text }}</div>
				<div class="three_list_img">
					<img :src="item.src" alt="">
				</div>
			</div>
		</div>
	</div>
</template>

<script>
export default {
	props: ['threeListData', 'title'],
	data() {
		return {

		}

	},
	components: {

	}
}
</script>

<style lang="less">
.container_title {
	text-align: left;
	font-size: 0.25rem;
	color: red;
	padding: 0.12rem 0.2rem;
	line-height: 1;
	i {
		font-size: 0.3rem;
		margin-right: 0.15rem;
		margin-top: -0.06rem;
		line-height: initial;
	}
}

.three_container .three_list {
	float: left;
	width: 2.5rem; // height: 146px;
	padding-top: 0.22rem;
	padding-bottom: 0.2rem;
	border: 1px solid #d8d8d8;
	margin-bottom: -1px;
	border-left:none;
	&:nth-of-type(3n){
		border-right: none;
	}
	.three_list_title {
		font-size: 0.22rem;
		font-weight: bold;
		padding-bottom: 0.15rem;
	}
	;
	.three_list_text {
		font-size: 0.19rem;
		padding-bottom: 0.4rem;
		white-space: nowrap;
		overflow: hidden;
	}
	;
	.three_list_img {
		margin-bottom: 10px;
		img {
			width: 1.31rem;
			border-radius: 50%;
		}
	}
}
</style>
